#!/usr/bin/env node

process.title = 'drakov-git'

var drakov = require('drakov/lib/drakov');
var watcher = require('drakov/lib/watcher');
var args = require('drakov/lib/arguments');
var starter = require('.');

stater.sync(process.env.GIT_USER, process.env.GIT_TOKEN);

var argv = args.getArgv();
drakov.run(argv, function() {
    watcher(argv);
});